package cn.htsyb.synergy.security.web.constant;
/**
 * @author lakeside hubin_yuan.410@hotmail.com
 * @version V1.0.0
 * @date 2022/5/22
 * @since 1.0
 */
public class WebSecurityConst {
    public final static String url_index = "/index";
    public final static String url_login = "/security/login";
    public final static String url_authenticate = "/security/authenticate";
    public final static String url_logout = "/security/logout";
    public final static String url_captcha = "/security/captcha";
    public final static String url_expired= url_login + "?expired";
    public final static String url_denied = url_login + "?denied";

    public final static String parameter_logon_username = "username";
    public final static String parameter_logon_password  = "password";
    public final static String parameter_logon_remember  = "remember";
    public final static String parameter_logon_captcha = "captcha";

    public final static String message_captcha_request_empty = "请求验证码不能为空!";
    public final static String message_captcha_session_empty = "验证码不存在!";
    public final static String message_captcha_unmatched = "验证码不匹配!";

    public final static int auth_validity_seconds = 8 * 60 *60;


}
